package com.rm.zeyou.voice.controller;

import com.rm.zeyou.voice.service.NotifyService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author 🤙🤙🏼🤙🏽
 * @date 2025 4月 08 11:14
 * @Description
 */
@RestController
@RequestMapping("/api/voiceNotify")
public class VoiceNotifysController {
    @Resource
    private NotifyService notifyService;

    @PostMapping("voiceNotify")
    public String voiceNotify(HttpServletRequest request, HttpServletResponse response) {
        return notifyService.voiceNotify(request, response);
    }


    @PostMapping("middleNumberAXBNotify")
    public String middleNumberAXBNotify(HttpServletRequest request, HttpServletResponse response) {
        return notifyService.middleNumberAXBNotify(request, response);
    }
}
